home *** CD-ROM | disk | FTP | other *** search
/ The Programmer Disk / The Programmer Disk (Microforum).iso / xpro / c4 / pro20 / pict.h < prev    next >
C/C++ Source or Header  |  1990-05-31  |  3KB  |  105 lines

  1. /* pict.h - header file for PICT files
  2. */
  3.  
  4. #ifndef _PICT_H_
  5. #define _PICT_H_
  6.  
  7. #define HEADER_SIZE        512
  8.  
  9. /* Opcodes */
  10. #define PICT_NOP        0x00
  11. #define PICT_clipRgn        0x01
  12. #define PICT_bkPat        0x02
  13. #define PICT_txFont        0x03
  14. #define PICT_txFace        0x04
  15. #define PICT_txMode        0x05
  16. #define PICT_spExtra        0x06
  17. #define PICT_pnSize        0x07
  18. #define PICT_pnMode        0x08
  19. #define PICT_pnPat        0x09
  20. #define PICT_thePat        0x0A
  21. #define PICT_ovSize        0x0B
  22. #define PICT_origin        0x0C
  23. #define PICT_txSize        0x0D
  24. #define PICT_fgColor        0x0E
  25. #define PICT_bkColor        0x0F
  26. #define PICT_txRatio        0x10
  27. #define PICT_picVersion        0x11
  28. #define PICT_line        0x20
  29. #define PICT_line_from        0x21
  30. #define PICT_short_line        0x22
  31. #define PICT_short_line_from    0x23
  32. #define PICT_long_text        0x28
  33. #define PICT_DH_text        0x29
  34. #define PICT_DV_text        0x2A
  35. #define PICT_DHDV_text        0x2B
  36. #define PICT_frameRect        0x30
  37. #define PICT_paintRect        0x31
  38. #define PICT_eraseRect        0x32
  39. #define PICT_invertRect        0x33
  40. #define PICT_fillRect        0x34
  41. #define PICT_frameSameRect    0x38
  42. #define PICT_paintSameRect    0x39
  43. #define PICT_eraseSameRect    0x3A
  44. #define PICT_invertSameRect    0x3B
  45. #define PICT_fillSameRect    0x3C
  46. #define PICT_frameRRect        0x40
  47. #define PICT_paintRRect        0x41
  48. #define PICT_eraseRRect        0x42
  49. #define PICT_invertRRect    0x43
  50. #define PICT_fillRRect        0x44
  51. #define PICT_frameSameRRect    0x48
  52. #define PICT_paintSameRRect    0x49
  53. #define PICT_eraseSameRRect    0x4A
  54. #define PICT_invertSameRRect    0x4B
  55. #define PICT_fillSameRRect    0x4C
  56. #define PICT_frameOval        0x50
  57. #define PICT_paintOval        0x51
  58. #define PICT_eraseOval        0x52
  59. #define PICT_invertOval        0x53
  60. #define PICT_fillOval        0x54
  61. #define PICT_frameSameOval    0x58
  62. #define PICT_paintSameOval    0x59
  63. #define PICT_eraseSameOval    0x5A
  64. #define PICT_invertSameOval    0x5B
  65. #define PICT_fillSameOval    0x5C
  66. #define PICT_frameArc        0x60
  67. #define PICT_paintArc        0x61
  68. #define PICT_eraseArc        0x62
  69. #define PICT_invertArc        0x63
  70. #define PICT_fillArc        0x64
  71. #define PICT_frameSameArc    0x68
  72. #define PICT_paintSameArc    0x69
  73. #define PICT_eraseSameArc    0x6A
  74. #define PICT_invertSameArc    0x6B
  75. #define PICT_fillSameArc    0x6C
  76. #define PICT_framePoly        0x70
  77. #define PICT_paintPoly        0x71
  78. #define PICT_erasePoly        0x72
  79. #define PICT_invertPoly        0x73
  80. #define PICT_fillPoly        0x74
  81. #define PICT_frameSamePoly    0x78
  82. #define PICT_paintSamePoly    0x79
  83. #define PICT_eraseSamePoly    0x7A
  84. #define PICT_invertSamePoly    0x7B
  85. #define PICT_fillSamePoly    0x7C
  86. #define PICT_frameRgn        0x80
  87. #define PICT_paintRgn        0x81
  88. #define PICT_eraseRgn        0x82
  89. #define PICT_invertRgn        0x83
  90. #define PICT_fillRgn        0x84
  91. #define PICT_frameSameRgn    0x88
  92. #define PICT_paintSameRgn    0x89
  93. #define PICT_eraseSameRgn    0x8A
  94. #define PICT_invertSameRgn    0x8B
  95. #define PICT_fillSameRgn    0x8C
  96. #define PICT_BitsRect        0x90
  97. #define PICT_BitsRgn        0x91
  98. #define PICT_PackBitsRect    0x98
  99. #define PICT_PackBitsRgn    0x99
  100. #define PICT_shortComment    0xA0
  101. #define PICT_longComment    0xA1
  102. #define PICT_EndOfPicture    0xFF
  103.  
  104. #endif /*_PICT_H_*/
  105.